package com.wang.web3.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by SAR on 2018/4/10.
 */

public class PropsBean implements Serializable {

    /**
     * code : 0
     * data : [{"categoryId":"Background","categoryName":"背景","contract":"0x1b0d68fadd7a55923cd6490c79d70f7fcd7a11ce","height":1400,"id":3,"itemDesc":"道具2描述","itemDuration":864000,"itemDurationLimit":0,"itemPic":"http://p6nuqct3n.bkt.clouddn.com/item_background_01.png","posX":10,"posY":10,"raceId":1,"rarity":"1","typeId":"2","typeName":"金色","width":1400,"zindex":1},{"categoryId":"PhotoFrame","categoryName":"相框","contract":"0x8d8e3ad52ce1f5becc10314f0288f4250f689f7b","height":1400,"id":7,"itemDesc":"道具3描述","itemDuration":691200,"itemDurationLimit":0,"itemPic":"http://p6nuqct3n.bkt.clouddn.com/eth_pf1.png","posX":10,"posY":10,"raceId":1,"rarity":"2","typeId":"1","typeName":"金色","width":1400,"zindex":2},{"categoryId":"Arms","categoryName":"武器","contract":"0x22ddfdc2e85c7e4102bb7a0b346ad38928196069","height":106,"id":8,"itemDesc":"道具4描述","itemDuration":518400,"itemDurationLimit":0,"itemPic":"http://p6nuqct3n.bkt.clouddn.com/weapon_2.png","posX":340,"posY":330,"raceId":1,"rarity":"3","typeId":"1","typeName":"闪亮","width":103,"zindex":3}]
     * msg : 操作成功
     * pagination : {"pageIndex":1,"pageSize":20,"totalItems":3}
     */

    private String code;
    private String msg;
    private PaginationBean pagination;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public PaginationBean getPagination() {
        return pagination;
    }

    public void setPagination(PaginationBean pagination) {
        this.pagination = pagination;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class PaginationBean {
        /**
         * pageIndex : 1
         * pageSize : 20
         * totalItems : 3
         */

        private int pageIndex;
        private int pageSize;
        private int totalItems;

        public int getPageIndex() {
            return pageIndex;
        }

        public void setPageIndex(int pageIndex) {
            this.pageIndex = pageIndex;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalItems() {
            return totalItems;
        }

        public void setTotalItems(int totalItems) {
            this.totalItems = totalItems;
        }
    }

    public static class DataBean {
        /**
         * categoryId : Background
         * categoryName : 背景
         * contract : 0x1b0d68fadd7a55923cd6490c79d70f7fcd7a11ce
         * height : 1400
         * id : 3
         * itemDesc : 道具2描述
         * itemDuration : 864000
         * itemDurationLimit : 0
         * itemPic : http://p6nuqct3n.bkt.clouddn.com/item_background_01.png
         * posX : 10
         * posY : 10
         * raceId : 1
         * rarity : 1
         * typeId : 2
         * typeName : 金色
         * width : 1400
         * zindex : 1
         */

        private String categoryId;
        private String categoryName;
        private String contract;
        private int height;
        private int id;
        private String itemDesc;
        private int itemDuration;
        private int itemDurationLimit;
        private String itemPic;
        private int posX;
        private int posY;
        private int raceId;
        private String rarity;
        private String typeId;
        private String typeName;
        private int width;
        private int zindex;

        public String getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(String categoryId) {
            this.categoryId = categoryId;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }

        public String getContract() {
            return contract;
        }

        public void setContract(String contract) {
            this.contract = contract;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getItemDesc() {
            return itemDesc;
        }

        public void setItemDesc(String itemDesc) {
            this.itemDesc = itemDesc;
        }

        public int getItemDuration() {
            return itemDuration;
        }

        public void setItemDuration(int itemDuration) {
            this.itemDuration = itemDuration;
        }

        public int getItemDurationLimit() {
            return itemDurationLimit;
        }

        public void setItemDurationLimit(int itemDurationLimit) {
            this.itemDurationLimit = itemDurationLimit;
        }

        public String getItemPic() {
            return itemPic;
        }

        public void setItemPic(String itemPic) {
            this.itemPic = itemPic;
        }

        public int getPosX() {
            return posX;
        }

        public void setPosX(int posX) {
            this.posX = posX;
        }

        public int getPosY() {
            return posY;
        }

        public void setPosY(int posY) {
            this.posY = posY;
        }

        public int getRaceId() {
            return raceId;
        }

        public void setRaceId(int raceId) {
            this.raceId = raceId;
        }

        public String getRarity() {
            return rarity;
        }

        public void setRarity(String rarity) {
            this.rarity = rarity;
        }

        public String getTypeId() {
            return typeId;
        }

        public void setTypeId(String typeId) {
            this.typeId = typeId;
        }

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getZindex() {
            return zindex;
        }

        public void setZindex(int zindex) {
            this.zindex = zindex;
        }
    }
}
